<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>Demo-请求远程数据</title>
<style>
	.g-loading-on{filter:alpha(opacity=40);-moz-opacity:0.4;opacity:0.4;cursor:auto;text-decoration:none;}
	.g-loading-on a{cursor:none;}

	.g-popwin{display:none;padding:20px;}
	.g-dialog-mask{position:absolute;display:none;background-color:#000;left:0;top:0;width:100%;filter:alpha(opacity=40);-moz-opacity:0.4;opacity:0.4;border:none;z-index:1000;}
	.g-dialog-win{position:absolute;display:none;background-color:#FFF;z-index:1000;background-color:#FFF;}
	.g-dialog-win .pop-border{border:5px solid #DBDBDB;}
	.g-dialog-win .pop-hd{cursor:move; background-color:#FFFF00;}
	.g-dialog-win .pop-hd .border{position:relative;}
	.g-dialog-win .pop-hd h4{padding:0;margin:0;}
	.g-dialog-win .pop-hd .close{right:2px;_right:12px;top:2px;width:29px;height:15px;position:absolute;background:url(imgs/ico_cart.png) no-repeat -70px -268px;overflow:hidden;}
	.g-dialog-win .pop-hd .close:hover{background-position:-70px -285px;}
	
	.g-loading{}
	.g-loading .pop-hd{display:none;}
</style>
</head>

<body>
<div id="merge_request">
	<ul>
    	<li><a dom="single" href="#">独立请求用户信息+产品信息</a></li>
    	<li><a dom="merge" href="#">合并请求用户信息+产品信息</a></li>
    </ul>
    <div dom="result"></div>
</div>
<div style="border:#CCC 1px solid; background-color:#FFFFCC;padding:20px;">
	以上两种方法书写完全一样，不同之处在于，action-mapping.js中对url后面加入了mergeKey<br>
	请注意，如果合并请求，后端可以参过获取Get参数：___来获得所有mergeKey，并由此参数动态组合返回数据。
</div>
</body>
<script type="text/javascript" src="mdf/js/common/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="mdf/js/common/mdf-min.js"></script>
<script type="text/javascript" src="mdf/js/project/project-init.js"></script>
<script type="text/javascript" src="mdf/js/project/language-mapping.js"></script>
<script type="text/javascript" src="mdf/js/project/error-mapping.js"></script>
<script type="text/javascript" src="mdf/js/project/action-mapping.js"></script>
<script type="text/javascript" src="mdf/js/project/merge-request.js"></script>

</html>
